<div class="span9">
    <section id="home">
        <table class="table table-bordered table-striped">
            <colgroup>
                <col class="span1">
                <col class="span7">
            </colgroup>
            <thead align="center">
                <tr>
                    <th colspan="7" style="text-align: center; background-color:#610E54; color:white;">HISTORI BIMBINGAN</th>
                </tr>
                <tr>
                    <th>#</th>
                    <th>KODE TESIS</th>
                    <th>TANGGAL</th>
                    <th>BAB</th>
                    <th>STATUS</th>
                    <th>DOWNLOAD</th>
                    <th>PESAN</th>
                </tr>
            </thead>
            <tbody>
                <?php $no = 1;
                foreach ($tesis as $data): ?>
                    <tr>
                        <td>
    <?php echo $no ?>
                        </td>
                        <td><span class="label label-info"><?php echo $data->kode ?></span></td>
                        <td><?php echo $data->time ?></td>
                        <td><?php echo $data->bab ?></td>
                        <td><span class="label label-success"><?php echo $data->status ?></span></td>
                        <td>
    <?php echo anchor('mahasiswa/download/' . $data->hash, '<i class="icon-download"></i> Download') ?>
                        </td>
                        <td>
    <?php echo anchor('mahasiswa/message/' . $data->hash, '<button class="btn btn-mini" type="button">Lihat Pesan</button>') ?>
                        </td>
                    </tr>
    <?php $no++;
endforeach; ?>
            </tbody>
        </table>
    </section>
</div>
</div>